﻿using Mono.Cecil;

namespace OpenReflect.Common.Helpers
{
	public static class AccessorHelper
	{
		public static Accessor GetMethodAccessor(MethodDefinition definition)
		{
			if (definition.IsPublic)
			{
				return Accessor.Public;
			}

			//if (definition.IsStatic)
			//{
			//    return Accessor.;
			//}
			//definition.ReturnType.ReturnType

			return Accessor.Private;
		}
	}
}